package com.yeung.alo

import scala.io.StdIn

object 最小车费花销 {
  def main(args: Array[String]): Unit = {
    val cityNums = StdIn.readInt()
    val priceMat: Array[Array[Int]] = Array.ofDim(cityNums, cityNums)
    //创建城市之间的价格矩阵
    for (i <- 0 until cityNums) {
      val split = StdIn.readLine().split(" ").map(_.toInt)
      for (j <- 0 until split.length) {
        priceMat(i)(j) = split(j)
      }

    }


  }

}
